home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mntdoc01 / mintdoc / cat2 / fmidipip.nr < prev    next >
Encoding:
Text File  |  1993-03-03  |  1.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. Fmidipipe(2)               Oct. 1, 1991              Fmidipipe(2)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        Fmidipipe - redirect MIDI input and output
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        LONG Fmidipipe( WORD pid, WORD in, WORD out);
  12.  
  13. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  14.        _✓F_✓m_✓i_✓d_✓i_✓p_✓i_✓p_✓e  changes  the MIDI input and output file handles
  15.        (GEMDOS file handles -4 and -5 respectively)  for  process
  16.        _✓p_✓i_✓d_✓.   _✓i_✓n  is  the GEMDOS handle (for the calling process)
  17.        which will become the MIDI input for  the  receiving  pro-
  18.        cess,  and _✓o_✓u_✓t is the GEMDOS handle which is to become the
  19.        MIDI output.
  20.  
  21.        If _✓p_✓i_✓d is 0, then the call affects the current process; in
  22.        this case, it is roughly equivalent to the sequence
  23.             Fforce(-4, in);
  24.             Fforce(-5, out);
  25.  
  26. R✓RE✓ET✓TU✓UR✓RN✓NS✓S
  27.        0 on success
  28.  
  29.        EFILNF if the indicated process is not found
  30.  
  31.        EIHNDL if either _✓i_✓n or _✓o_✓u_✓t is not a valid open handle.
  32.  
  33.        EACCDN if _✓i_✓n is not open for reading or if _✓o_✓u_✓t is not open
  34.        for writing.
  35.  
  36. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  37.        _✓F_✓d_✓u_✓p(2), _✓F_✓f_✓o_✓r_✓c_✓e(2)
  38.  
  39. B✓BU✓UG✓GS✓S
  40.        Any user can change the MIDI input and output of any  pro-
  41.        cess.  This will eventually be corrected.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Version 0.9          MiNT Programmer's Manual                   1
  65.  
  66.  
  67.